package com.bookstore.service;

import com.bookstore.entity.Product;

import java.util.List;

public interface ProductService {
    List<Product> queryAllProduct();

    int deleteProduct(Integer id);

    Product queryProductById(Integer id);

    int updateProduct(Product product);

    int insertProduct(Product product);

    List<Product> queryLimiteProduct(Integer start,Integer maxNum);

    int queryProductCount();
}
